linux--Compressed FilesWhy do I need to compress files?The file may take too much time to transfer due to the large file size during the transfer process. There are two obvious benefits to reducing file size, one is the ability to reduceLess storage
Table 1 Linux common compression and decompression command description
Common commands
Brief Chinese description
directory where the program is located
Gzip
Compressed to a file named. GZ (also available as
This article is to Uncle Bird's Linux private cuisine (basic study) of the third edition of the study notes, the original text can refer to the original book Chinese website Bird uncle's Linux private dishes.In the Linux environment, the operation
The most common packaging in LinuxProgramThe package we use the tarprogram is often called a tarpackage, and the command of the tarpackage file is always ended with .tar. After the tar package is generated, you can use other programsLine compression,
CyanobacteriaDate: 2018.7.3Foreword this article characteristic
to teach the fishing : Learn the command learning method, use: No longer rote, refuse to aimless;
accurate : All commands are executed through (environment for CENTOS7),
Title: Linux must learn 60 commands (6)-Other
Linux must learn 60 commands: OtherImportant commands that Linux must learn (1)Author: Cao Yuan its dispatch time: 2004.12.16In the previous lecture, we introduced the Linux commands into several parts,
Some common compressed files:
*. Z
Files compressed by Compress program
*.bz2
Files compressed by bzip2 program
*.gz
GZIP Program Compressed Files
*.tar
The TAR program is packed with
Gzip/gunzip command
Function descriptionSimilar to the Gizp/gunzip command, compress and decompress files. For directories that can only compress all files in the directory, after compression is complete, a compressed package with ". bz2"
The following is from: Amin http://www.apelearn.com/study_v2/chapter11.html, the commonly used to write, the feeling can be; Just compress and unzip the tool: Gzip Tool:Just remember these parameters when you use them: NOTE: gzip cannot compress the
Change directory and view current directory commands
CD: Go to User's home directory
CD ~: Go to the user's home directory
CD-: Returns the directory where it was before entering this directory
Cd.. : Returns the parent
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.